<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<title>登录</title>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/layui-v2.5.7/layui/css/layui.css" />
		<script src="${pageContext.request.contextPath}/static/layui-v2.5.7/layui/layui.js" type="text/javascript" charset="UTF-8"></script>
		<style>
			.window{  
					width: 400px;  
					position: absolute;  
					margin-left: -200px;  
					margin-top: -200px;  
					top: 50%;  
					left: 50%;  
					display: block;  
					z-index: 2000;  
					 background: #fff;
					padding: 20 0;
				} 
		</style>
	</head>
	<body style="background: #f1f1f1;">
		<div class="window">
			<fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
				<legend style="margin-left: 0px;margin-right: 0px;margin: auto;">登录</legend>
			</fieldset>
			<form class="layui-form" action="">
				<div class="layui-form-item" style="margin-right: 90px;margin-top: 20px;">
					<label class="layui-form-label">用户名：</label>
					<div class="layui-input-block">
						<input type="text" name="user" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item" style="margin-right: 90px;margin-top: 20px;">
					<label class="layui-form-label">密&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
					<div class="layui-input-block">
						<input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off"
						 class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-form-item">
						<div class="layui-input-block">
							<button class="layui-btn" lay-submit lay-filter="login">登录</button>
							<button class="layui-btn" onclick="">注册</button>
						</div>
						
					</div>
				</div>
			</form>
			
		</div>
		<script>
			console.log("${pageContext.request.contextPath}");
		</script>

	</body>
</html>
